import re

lange = 'PythonC#\nJavaPhp'

r = re.findall('c#.{1}', lange, re.I | re.S)
r1 = re.findall('c#.{1}', lange, re.I)

print(r)
print(r1)
